import { get, post, put, remove } from "./index";

export function page(query) {
  return get("license/page", query);
}

export function create(data) {
  return post("license/create", data);
}

export function reset(id) {
  return put("license/reset/" + id);
}

export function deleteById(id) {
  return remove("license/" + id);
}

export default {
  page,
  create,
  reset,
  deleteById,
};
